package com.py.warehouse.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 【请填写功能名称】对象 bs_wh_location
 *
 * @author ruoyi
 * @date 2024-11-26
 */
public class BsWhLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库位主键 */
    private Long locationId;

    /** 库位编号 */
    @Excel(name = "库位编号")
    private String locationCode;

    /** 库位名称 */
    @Excel(name = "库位名称")
    private String locationName;

    /** 库位容量 */
    @Excel(name = "库位容量")
    private BigDecimal locationVessel;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String warehouseCode;

    /** 库位主管 */
    @Excel(name = "库位主管")
    private String manager;

    /** 库位状态 */
    @Excel(name = "库位状态")
    private String locationStatus;

    /** 排序 */
    @Excel(name = "排序")
    private Long locationSort;

    /** 库位备注 */
    @Excel(name = "库位备注")
    private String locationRemarks;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private String isDelete;

    @Transient
    private Integer number;
    @Transient
    private Integer codeId;

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getCodeId() {
        return codeId;
    }

    public void setCodeId(Integer codeId) {
        this.codeId = codeId;
    }

    public void setLocationId(Long locationId)
    {
        this.locationId = locationId;
    }

    public Long getLocationId()
    {
        return locationId;
    }
    public void setLocationCode(String locationCode)
    {
        this.locationCode = locationCode;
    }

    public String getLocationCode()
    {
        return locationCode;
    }
    public void setLocationName(String locationName)
    {
        this.locationName = locationName;
    }

    public String getLocationName()
    {
        return locationName;
    }
    public void setLocationVessel(BigDecimal locationVessel)
    {
        this.locationVessel = locationVessel;
    }

    public BigDecimal getLocationVessel()
    {
        return locationVessel;
    }
    public void setWarehouseCode(String warehouseCode)
    {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseCode()
    {
        return warehouseCode;
    }
    public void setManager(String manager)
    {
        this.manager = manager;
    }

    public String getManager()
    {
        return manager;
    }
    public void setLocationStatus(String locationStatus)
    {
        this.locationStatus = locationStatus;
    }

    public String getLocationStatus()
    {
        return locationStatus;
    }
    public void setLocationSort(Long locationSort)
    {
        this.locationSort = locationSort;
    }

    public Long getLocationSort()
    {
        return locationSort;
    }
    public void setLocationRemarks(String locationRemarks)
    {
        this.locationRemarks = locationRemarks;
    }

    public String getLocationRemarks()
    {
        return locationRemarks;
    }
    public void setIsDelete(String isDelete)
    {
        this.isDelete = isDelete;
    }

    public String getIsDelete()
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("locationId", getLocationId())
                .append("locationCode", getLocationCode())
                .append("locationName", getLocationName())
                .append("locationVessel", getLocationVessel())
                .append("warehouseCode", getWarehouseCode())
                .append("manager", getManager())
                .append("locationStatus", getLocationStatus())
                .append("locationSort", getLocationSort())
                .append("locationRemarks", getLocationRemarks())
                .append("isDelete", getIsDelete())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}